<?php 
header("Content-Type: text/html; charset=UTF-8");
require_once "db_fun.php";


//   =====同步接口地址定义=====
const $url='http://...get_json_url...';

//   =====同步表定义=====
const $tablename = "your_tablename";     //表名
const $isDup=1;                          //是否自动排重
const $DupName='id';                     //排重字段


require_once "json2db.php"; 

?>